package com.taiji.workOrder.domain;

import com.taiji.common.annotation.Excel;
import com.taiji.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
     server_monitor_data
 *
 * @author taiji
 * @date 2023-08-08
 */
@ApiModel(value = "ServerMonitorData", description = "服务器监控数据信息")
public class ServerMonitorData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("编号")
    private String id;

    /** 项目代码 */
    @Excel(name = "项目代码")
    @ApiModelProperty("项目代码")
    private String projectCode;

    /** 服务器地址 */
    @Excel(name = "服务器地址")
    @ApiModelProperty("服务器地址")
    private String serverAddress;

    /** 数据 */
    @Excel(name = "数据")
    @ApiModelProperty("json数据")
    private String data;

    /**
     * 是否删除
     */
    private Integer isDeleted;

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProjectCode(String projectCode)
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode()
    {
        return projectCode;
    }
    public void setServerAddress(String serverAddress)
    {
        this.serverAddress = serverAddress;
    }

    public String getServerAddress()
    {
        return serverAddress;
    }
    public void setData(String data)
    {
        this.data = data;
    }

    public String getData()
    {
        return data;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("projectCode", getProjectCode())
                .append("serverAddress", getServerAddress())
                .append("data", getData())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}